.class public Lcom/waiqin365/lightapp/product/a/be;
.super Lcom/waiqin365/lightapp/product/a/co;


# direct methods
.method public constructor <init>(Landroid/content/Context;Ljava/util/List;)V
    .locals 0

    invoke-direct {p0, p1, p2}, Lcom/waiqin365/lightapp/product/a/co;-><init>(Landroid/content/Context;Ljava/util/List;)V

    return-void
.end method


# virtual methods
.method public a(ILandroid/view/View;Landroid/view/ViewGroup;Lcom/waiqin365/base/a/b;)Landroid/view/View;
    .locals 10

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/a/be;->c:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/product/d/f;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/d/f;->a()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/product/a/be;->b(Ljava/lang/String;)Lcom/waiqin365/base/db/jxccache/g;

    move-result-object v8

    const v1, 0x7f0c0a85

    invoke-virtual {p4, p2, v1}, Lcom/waiqin365/base/a/b;->a(Landroid/view/View;I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    const v2, 0x7f0c0a84

    invoke-virtual {p4, p2, v2}, Lcom/waiqin365/base/a/b;->a(Landroid/view/View;I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/RelativeLayout;

    const v3, 0x7f0c04fb

    invoke-virtual {p4, p2, v3}, Lcom/waiqin365/base/a/b;->a(Landroid/view/View;I)Landroid/view/View;

    move-result-object v3

    check-cast v3, Landroid/widget/ImageView;

    const v4, 0x7f0c09e4

    invoke-virtual {p4, p2, v4}, Lcom/waiqin365/base/a/b;->a(Landroid/view/View;I)Landroid/view/View;

    move-result-object v4

    check-cast v4, Landroid/widget/TextView;

    const v5, 0x7f0c0554

    invoke-virtual {p4, p2, v5}, Lcom/waiqin365/base/a/b;->a(Landroid/view/View;I)Landroid/view/View;

    move-result-object v5

    check-cast v5, Landroid/widget/TextView;

    const v6, 0x7f0c04fe

    invoke-virtual {p4, p2, v6}, Lcom/waiqin365/base/a/b;->a(Landroid/view/View;I)Landroid/view/View;

    move-result-object v6

    check-cast v6, Landroid/widget/TextView;

    const v7, 0x7f0c0a1c

    invoke-virtual {p4, p2, v7}, Lcom/waiqin365/base/a/b;->a(Landroid/view/View;I)Landroid/view/View;

    move-result-object v7

    check-cast v7, Landroid/widget/CheckBox;

    invoke-virtual {v7, v0}, Landroid/widget/CheckBox;->setTag(Ljava/lang/Object;)V

    invoke-virtual {v2, v8}, Landroid/widget/RelativeLayout;->setTag(Ljava/lang/Object;)V

    new-instance v9, Lcom/waiqin365/lightapp/product/a/bf;

    invoke-direct {v9, p0, v7}, Lcom/waiqin365/lightapp/product/a/bf;-><init>(Lcom/waiqin365/lightapp/product/a/be;Landroid/widget/CheckBox;)V

    invoke-virtual {v2, v9}, Landroid/widget/RelativeLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    new-instance v2, Lcom/waiqin365/lightapp/product/a/bg;

    invoke-direct {v2, p0, v7}, Lcom/waiqin365/lightapp/product/a/bg;-><init>(Lcom/waiqin365/lightapp/product/a/be;Landroid/widget/CheckBox;)V

    invoke-virtual {p2, v2}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/a/be;->a()Landroid/content/Context;

    move-result-object v2

    invoke-static {v2}, Lcom/waiqin365/base/db/offlinedata/w;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/w;

    move-result-object v2

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/d/f;->a()Ljava/lang/String;

    move-result-object v7

    invoke-virtual {v2, v7}, Lcom/waiqin365/base/db/offlinedata/w;->d(Ljava/lang/String;)Ljava/util/List;

    const v2, 0x7f0c0adb

    invoke-virtual {p4, p2, v2}, Lcom/waiqin365/base/a/b;->a(Landroid/view/View;I)Landroid/view/View;

    move-result-object v2

    const/16 v7, 0x8

    invoke-virtual {v2, v7}, Landroid/view/View;->setVisibility(I)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/a/be;->a()Landroid/content/Context;

    move-result-object v2

    invoke-static {v2, v0}, Lcom/waiqin365/lightapp/product/e/b;->a(Landroid/content/Context;Lcom/waiqin365/lightapp/product/d/f;)Landroid/text/SpannableStringBuilder;

    move-result-object v2

    invoke-virtual {v5, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v2, v0, Lcom/waiqin365/lightapp/product/d/f;->e:Ljava/lang/String;

    invoke-static {v2}, Lcom/fiberhome/gaea/client/d/k;->i(Ljava/lang/String;)Z

    move-result v5

    if-eqz v5, :cond_1

    const/16 v2, 0x8

    invoke-virtual {v4, v2}, Landroid/widget/TextView;->setVisibility(I)V

    :goto_0
    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/product/a/be;->a(Lcom/waiqin365/lightapp/product/d/f;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v6, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const/4 v2, 0x0

    invoke-virtual {v1, v2}, Landroid/widget/ImageView;->setVisibility(I)V

    if-eqz v8, :cond_2

    const v2, 0x7f020129

    invoke-virtual {v1, v2}, Landroid/widget/ImageView;->setImageResource(I)V

    :goto_1
    iget-boolean v1, p0, Lcom/waiqin365/lightapp/product/a/be;->e:Z

    if-eqz v1, :cond_4

    const/4 v1, 0x0

    invoke-virtual {v3, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/d/f;->A()Ljava/lang/String;

    move-result-object v1

    if-eqz v1, :cond_3

    const-string/jumbo v1, ""

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/d/f;->A()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_3

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/d/f;->A()Ljava/lang/String;

    move-result-object v0

    const-string/jumbo v1, ","

    invoke-virtual {v0, v1}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v0

    array-length v1, v0

    if-lez v1, :cond_0

    const/4 v1, 0x0

    aget-object v0, v0, v1

    const/16 v1, 0x2e

    invoke-virtual {v0, v1}, Ljava/lang/String;->lastIndexOf(I)I

    move-result v1

    new-instance v2, Ljava/lang/StringBuffer;

    invoke-direct {v2, v0}, Ljava/lang/StringBuffer;-><init>(Ljava/lang/String;)V

    const-string/jumbo v0, "_small"

    invoke-virtual {v2, v1, v0}, Ljava/lang/StringBuffer;->insert(ILjava/lang/String;)Ljava/lang/StringBuffer;

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/a/be;->a()Landroid/content/Context;

    move-result-object v1

    invoke-virtual {v2}, Ljava/lang/StringBuffer;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/base/login/mainview/a;->a(Landroid/content/Context;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/a/be;->a()Landroid/content/Context;

    move-result-object v1

    invoke-static {v1}, Lcom/fiberhome/gaea/client/d/f;->a(Landroid/content/Context;)Lcom/fiberhome/gaea/client/d/f;

    move-result-object v1

    invoke-virtual {v1, v0}, Lcom/fiberhome/gaea/client/d/f;->b(Ljava/lang/String;)Lcom/squareup/picasso/RequestCreator;

    move-result-object v0

    invoke-virtual {v0, v3}, Lcom/squareup/picasso/RequestCreator;->into(Landroid/widget/ImageView;)V

    :cond_0
    :goto_2
    return-object p2

    :cond_1
    const/4 v5, 0x0

    invoke-virtual {v4, v5}, Landroid/widget/TextView;->setVisibility(I)V

    invoke-virtual {v4, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0

    :cond_2
    const v2, 0x7f02012d

    invoke-virtual {v1, v2}, Landroid/widget/ImageView;->setImageResource(I)V

    goto :goto_1

    :cond_3
    const v0, 0x7f020306

    invoke-virtual {v3, v0}, Landroid/widget/ImageView;->setImageResource(I)V

    goto :goto_2

    :cond_4
    const/16 v0, 0x8

    invoke-virtual {v3, v0}, Landroid/widget/ImageView;->setVisibility(I)V

    goto :goto_2
.end method

.method public a(I)Lcom/waiqin365/lightapp/product/d/f;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/a/be;->c:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/product/d/f;

    return-object v0
.end method

.method public a(Lcom/waiqin365/lightapp/product/d/f;)Ljava/lang/String;
    .locals 4

    invoke-virtual {p1}, Lcom/waiqin365/lightapp/product/d/f;->a()Ljava/lang/String;

    move-result-object v0

    invoke-static {}, Lcom/waiqin365/lightapp/chexiao/d/a;->o()Z

    move-result v1

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/product/e/b;->a(Ljava/lang/String;Z)Ljava/lang/String;

    move-result-object v0

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/a/be;->a()Landroid/content/Context;

    move-result-object v2

    const v3, 0x7f08006a

    invoke-virtual {v2, v3}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-static {v0}, Lcom/fiberhome/gaea/client/d/k;->i(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_0

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const/4 v2, 0x0

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {p1}, Lcom/waiqin365/lightapp/product/d/f;->j()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    :cond_0
    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public a(Ljava/util/List;)V
    .locals 1

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/a/be;->m()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->clear()V

    if-eqz p1, :cond_0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/a/be;->m()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0, p1}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    :cond_0
    return-void
.end method

.method public b()I
    .locals 1

    const v0, 0x7f03021a

    return v0
.end method

.method public getCount()I
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/a/be;->c:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    return v0
.end method

.method public synthetic getItem(I)Ljava/lang/Object;
    .locals 1

    invoke-virtual {p0, p1}, Lcom/waiqin365/lightapp/product/a/be;->a(I)Lcom/waiqin365/lightapp/product/d/f;

    move-result-object v0

    return-object v0
.end method

.method public getItemId(I)J
    .locals 2

    int-to-long v0, p1

    return-wide v0
.end method

.method public notifyDataSetChanged()V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/a/be;->k:Lcom/waiqin365/lightapp/product/c/a;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/a/be;->k:Lcom/waiqin365/lightapp/product/c/a;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/product/a/be;->m()Ljava/util/List;

    move-result-object v1

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    invoke-interface {v0, v1}, Lcom/waiqin365/lightapp/product/c/a;->a(I)V

    :cond_0
    invoke-super {p0}, Lcom/waiqin365/lightapp/product/a/co;->notifyDataSetChanged()V

    return-void
.end method
